maven-build:
	mvn clean install -Dmaven.test.skip=true
java-run:
	maven-build
	java -Dserver.port=8090 -Dcsp.sentinel.dashboard.server=localhost:8090 -Dproject.name=docker-java -jar ./target/docker-java-demo-1.0-SNAPSHOT.jar
docker-build:
	make maven-build
	docker build -t zcr.kxsz.net/datad-projects/aiks/docker-java-demo:latest .
docker-push:
	docker-build
	docker push zcr.kxsz.net/datad-projects/aiks/docker-java-demo:latest
docker-run:
	docker-build
	docker stop docker-java-demo
	docker rm docker-java-demo
	docker run -d --name docker-java-demo -p 8090:8090 zcr.kxsz.net/datad-projects/aiks/docker-java-demo:latest

# curl http://localhost:8090/monitor/test?name=docker-java-demo